Semaphore
Semaphore sends test results to BuildPulse through the BuildPulse upload API with an API token. There is no Semaphore-specific plugin: the upload is a shell script that runs after your tests.
If you'd like help at any step, please get in touch.
1. Create an API key.
In BuildPulse, open Organization Settings, then API Keys, and click Create API Key. The key starts with bp_ and is shown once. Store it as a Semaphore secret so that it reaches the job as the BUILDPULSE_API_TOKEN environment variable.
2. Copy the upload script for your repository.
In BuildPulse, open the repository and go to its Setup tab. Under "Wire BuildPulse into your CI pipeline", pick Other / any CI and your test framework. The page shows the script with your repository ID filled in. The same script, with a placeholder for the ID, is on the Other CI Providers page.
3. Run the script after your tests.
Save the script in your repository and run it as a command after your test command. Make sure it also runs when the tests fail, which is where flaky tests show up. In the script's ci: block, set build_id and build_url from Semaphore's environment variables so that each run in BuildPulse links back to its workflow.
4. Commit those changes.
Push your branch and check the job log on semaphoreci.com. The script ends with BuildPulse upload complete. Within a few minutes the repository's Test Runs tab in BuildPulse shows the run.
test-reporter binary?Earlier versions of this guide used the test-reporter binary with an access key ID and secret access key plus numeric account and repository IDs. New accounts are not issued access keys, so new setups should follow the steps above. If you already run the binary and have questions about moving, email support@buildpulse.io.
To run Semaphore jobs on BuildPulse machines, which is a separate product from test reporting, see CircleCI and Semaphore on BuildPulse runners.